package com.zzyx.service.impl;

import java.util.List;

import com.zzyx.bean.Diaocha;
import com.zzyx.dao.DiaochaDao;
import com.zzyx.service.DiaochaService;

public class DiaochaServiceImpl implements DiaochaService {

	private DiaochaDao diaochaDao;
	


	public DiaochaDao getDiaochaDao() {
		return diaochaDao;
	}

	public void setDiaochaDao(DiaochaDao diaochaDao) {
		this.diaochaDao = diaochaDao;
	}

	
	public List<Diaocha> findByHql(String hql) {
		// TODO Auto-generated method stub
		return diaochaDao.findByHql(hql);
	}

	
	public List<Diaocha> findByHql(String hql, int start, int max) {
		// TODO Auto-generated method stub
		return diaochaDao.findByHql(hql, start, max);
	}

}
